﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RoccaStore
{
    public class Contact
    {
        [Key, Column("ContactID")]
        public int ID { get; set; }
         
        public int AccountID { get; set; }

        [ForeignKey("AccountID")]
        public virtual Account Account { get; set; }

        public string Name { get; set; }

        public string Email { get; set; }

        public string Tel { get; set; }
    }
}
